package com.huaxin.device.dto.request;

import com.huaxin.device.dto.request.base.BasePageReqDTO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = true)
public class EquipmentCategoryPageListReqDTO extends BasePageReqDTO {

    @Schema(description = "是否启用", example = "true")
    private Boolean isEnabled;

    @Schema(description = "分类编码", example = "TRANSFORMER")
    private String categoryCode;

    @Schema(description = "父级分类ID", example = "p123e456-789a-bcde-f012-3456789abcde")
    private String parentId;

    @Schema(description = "层级", example = "2")
    private Integer level;

    @Schema(description = "组织ID", example = "c123e456-789a-bcde-f012-3456789abcde")
    private String orgId;

    @Schema(description = "分类名称关键字", example = "变压器")
    private String keyword;
}